<template>
  <el-card class="box-card">
    <div class="clearfix">
      <span class="title-n" v-if="topTitle.type !== ''"
        >{{ topTitle.type }} /
      </span>
      <span class="title-bold"> {{ topTitle.text }} </span>
      <span> - {{ topTitle.msg }}</span>
    </div>
  </el-card>
</template>

<script>
export default {
  name: "ConTitle",
  props: ["topTitle"],
};
</script>

<style lang="scss" scoped>
.title-bold {
  font-size: 20px;
  font-weight: bold;
}
.title-n {
  color: #b4b2b1;
}
</style>